/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com)
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Long 
                        roleId,//Integer 角色ID
                        name,//String 姓名
                        idcard,//String 身份证号
                        phone,//String 
                        gender,//String male female
                        schoolName,//String 
                        email,//String 电子邮箱
                        address,//String 通信地址
                        guardianName,//String 监护人姓名
                        guardianPhone,//String 监护人电话
                        workUnit,//String 工作单位
                        job,//String 职务
                    }
    }
}
 */
// 分页查询
function UserInfoPageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/userinfo/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function UserInfoqueryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/userinfo/queryList","post",query,SuccessFunc,FailedFunc);
}
// 插入数据
function UserInfoaddObj(obj,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/userinfo/save", "post", obj,SuccessFunc,FailedFunc)
}
// 主键获取数据
function UserInfogetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/userinfo/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function UserInfoupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/userinfo/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function UserInfoupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/userinfo/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function UserInfodelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/userinfo/"+id,"delete",{},SuccessFunc,FailedFunc);
}

